class Person{
    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
public class Test {
    public static void main1(String[] args) throws CloneNotSupportedException{
        Person p=new Person();
        Person p2=(Person) p.clone();
    }
}
